package com.ssm.helong.shop.service.impl;

import com.ssm.helong.shop.Dao.AddressMapper;
import com.ssm.helong.shop.entity.Address;
import com.ssm.helong.shop.service.AddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AddressServiceImpl implements AddressService {
    @Autowired
    private AddressMapper addressMapper;


    @Override
    public List <Address> selectAddress(Integer userId) {
        return null;
    }

    @Override
    public int updateAddress(Address address) {
        return 0;
    }

    @Override
    public int addAddress(Address address) {
        return 0;
    }

    @Override
    public int deleteAddress(Integer id) {
        return 0;
    }

    @Override
    public int selectOneAddress(Integer id) {
        return 0;
    }
}
